<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<title>{$data.page_title}</title>
<link rel="stylesheet" href="css/base.css">

</head>
<body>
<?
//print_r($_COOKIE);
$user_login_status =check_save_login();
if(!$user_login_status==LOGIN_STATUS_LOGINED):
?>

<header class="center"><img class="user_tit" src="image/xiaojianghu.png" alt="">
    <div class="login">
        <div class="fl"><img class="re" src="images/rzjh.png" alt="">游客</div>
        <a target="_top" href="index.php?ctl=user&act=login">登录</a>
        <a target="_top" href="index.php?ctl=user&act=register">新人注册</a>
    </div>
</header>
<?
else:
?>
<header class="center"><img class="user_tit" src="image/xiaojianghu.png" alt=""></header>

<?
endif;
?>
<style>
header{position:fixed; top:0; z-index:99;box-shadow: none;}
header img{width:80px;}
header .login {font:13px/20px ""; color:#fff;padding:5px;}
header .login img{width:30px; padding-right:6px; top:-3px;}
header .login a{float:right; display:block; color:#fff; margin:0 10px;}
</style>
